package com.addcn.android.design591.bean;

import java.util.List;

/**
 * Created by xuge on 2017/1/13.
 * 首页数据结构
 */

public class HomeBean {

    /**
     * status : 1
     * info : 成功
     * data : {"banner":[{"id":"438","img":"//upload.100.com.tw/banner/1475228371.png","alt":"baojia","link":"https://m.100.com.tw/mobile-freeDemandv3.html?v=android"}],"company":[{"reputation_value":"42","id":"5272","works":"11","company_name":"原象空間設計","logo":"https://cp1.100.com.tw/service/active/2016/09/19/147426939929131208_150x112xscale.jpg?v=10010&webp=0","browse_num":"7819","messtotal":223},{"reputation_value":"8","id":"2559","works":"48","company_name":"宇漾室內設計","logo":"https://cp1.100.com.tw/service/active/2012/11/16/135306243182336101_150x112xscale.jpg?v=10010&webp=0","browse_num":"24883","messtotal":234},{"reputation_value":"0","id":"5413","works":"1464","company_name":"晨陽機構(晨昱)","logo":"https://cp1.100.com.tw/service/active/2016/05/12/146304003865338002_150x112xscale.jpg?v=10010&webp=0","browse_num":"11627","messtotal":366},{"reputation_value":"2","id":"4362","works":"20","company_name":"高谷設計","logo":"https://cp1.100.com.tw/service/active/2016/09/12/147366994053031304_150x112xscale.jpg?v=10010&webp=0","browse_num":"7408","messtotal":293},{"reputation_value":"0","id":"3797","works":"67","company_name":"趙玲室內設計","logo":"https://cp1.100.com.tw/service/active/2016/12/29/148298004586414303_150x112xscale.jpg?v=10010&webp=0","browse_num":"18757","messtotal":256},{"reputation_value":"10","id":"4119","works":"70","company_name":"創逸空間設計","logo":"https://cp2.100.com.tw/service/active/2016/09/12/147367063976488207_150x112xscale.jpg?v=10010&webp=0","browse_num":"14578","messtotal":249},{"reputation_value":"0","id":"3348","works":"187","company_name":"愛格室內設計","logo":"https://cp1.100.com.tw/service/active/2016/09/09/147338496215931909_150x112xscale.png?v=10010&webp=0","browse_num":"121036","messtotal":226},{"reputation_value":"4","id":"2828","works":"18","company_name":"自遊空間設計公司","logo":"https://cp1.100.com.tw/service/active/2016/11/16/147926806477247301_150x112xscale.jpg?v=10010&webp=0","browse_num":"7152","messtotal":221}],"demand_total":69294}
     */

    public int status;
    public String info;
    public DataBean data;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * banner : [{"id":"438","img":"//upload.100.com.tw/banner/1475228371.png","alt":"baojia","link":"https://m.100.com.tw/mobile-freeDemandv3.html?v=android"}]
         * company : [{"reputation_value":"42","id":"5272","works":"11","company_name":"原象空間設計","logo":"https://cp1.100.com.tw/service/active/2016/09/19/147426939929131208_150x112xscale.jpg?v=10010&webp=0","browse_num":"7819","messtotal":223},{"reputation_value":"8","id":"2559","works":"48","company_name":"宇漾室內設計","logo":"https://cp1.100.com.tw/service/active/2012/11/16/135306243182336101_150x112xscale.jpg?v=10010&webp=0","browse_num":"24883","messtotal":234},{"reputation_value":"0","id":"5413","works":"1464","company_name":"晨陽機構(晨昱)","logo":"https://cp1.100.com.tw/service/active/2016/05/12/146304003865338002_150x112xscale.jpg?v=10010&webp=0","browse_num":"11627","messtotal":366},{"reputation_value":"2","id":"4362","works":"20","company_name":"高谷設計","logo":"https://cp1.100.com.tw/service/active/2016/09/12/147366994053031304_150x112xscale.jpg?v=10010&webp=0","browse_num":"7408","messtotal":293},{"reputation_value":"0","id":"3797","works":"67","company_name":"趙玲室內設計","logo":"https://cp1.100.com.tw/service/active/2016/12/29/148298004586414303_150x112xscale.jpg?v=10010&webp=0","browse_num":"18757","messtotal":256},{"reputation_value":"10","id":"4119","works":"70","company_name":"創逸空間設計","logo":"https://cp2.100.com.tw/service/active/2016/09/12/147367063976488207_150x112xscale.jpg?v=10010&webp=0","browse_num":"14578","messtotal":249},{"reputation_value":"0","id":"3348","works":"187","company_name":"愛格室內設計","logo":"https://cp1.100.com.tw/service/active/2016/09/09/147338496215931909_150x112xscale.png?v=10010&webp=0","browse_num":"121036","messtotal":226},{"reputation_value":"4","id":"2828","works":"18","company_name":"自遊空間設計公司","logo":"https://cp1.100.com.tw/service/active/2016/11/16/147926806477247301_150x112xscale.jpg?v=10010&webp=0","browse_num":"7152","messtotal":221}]
         * demand_total : 69294
         */

        public int demand_total;
        public List<BannerBean> banner;
        public List<CompanyBean> company;

        public int getDemand_total() {
            return demand_total;
        }

        public void setDemand_total(int demand_total) {
            this.demand_total = demand_total;
        }

        public List<BannerBean> getBanner() {
            return banner;
        }

        public void setBanner(List<BannerBean> banner) {
            this.banner = banner;
        }

        public List<CompanyBean> getCompany() {
            return company;
        }

        public void setCompany(List<CompanyBean> company) {
            this.company = company;
        }

        public static class BannerBean {
            /**
             * id : 438
             * img : //upload.100.com.tw/banner/1475228371.png
             * alt : baojia
             * link : https://m.100.com.tw/mobile-freeDemandv3.html?v=android
             */

            public String id;
            public String img;
            public String alt;
            public String link;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getImg() {
                return img;
            }

            public void setImg(String img) {
                this.img = img;
            }

            public String getAlt() {
                return alt;
            }

            public void setAlt(String alt) {
                this.alt = alt;
            }

            public String getLink() {
                return link;
            }

            public void setLink(String link) {
                this.link = link;
            }
        }

        public static class CompanyBean {
            /**
             * reputation_value : 42
             * id : 5272
             * works : 11
             * company_name : 原象空間設計
             * logo : https://cp1.100.com.tw/service/active/2016/09/19/147426939929131208_150x112xscale.jpg?v=10010&webp=0
             * browse_num : 7819
             * messtotal : 223
             */

            public String reputation_value;
            public String id;
            public String works;
            public String company_name;
            public String logo;
            public String browse_num;
            public int messtotal;

            public String getReputation_value() {
                return reputation_value;
            }

            public void setReputation_value(String reputation_value) {
                this.reputation_value = reputation_value;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getWorks() {
                return works;
            }

            public void setWorks(String works) {
                this.works = works;
            }

            public String getCompany_name() {
                return company_name;
            }

            public void setCompany_name(String company_name) {
                this.company_name = company_name;
            }

            public String getLogo() {
                return logo;
            }

            public void setLogo(String logo) {
                this.logo = logo;
            }

            public String getBrowse_num() {
                return browse_num;
            }

            public void setBrowse_num(String browse_num) {
                this.browse_num = browse_num;
            }

            public int getMesstotal() {
                return messtotal;
            }

            public void setMesstotal(int messtotal) {
                this.messtotal = messtotal;
            }
        }
    }
}
